import { axios } from '@/utils/request'
import config from '@/config/appConfig'

export function getList (parameter) {
    return axios({
      url: config.url,
      method: 'get',
      params: {
        _gp: 'marketing.lottery',
        _mt: 'getLotteryByMerchantId',
        ...parameter
      }
    })
  }